//app.js
App({
  onLaunch: function () {
    let loginFlag = wx.getStorageSync('openId');
    if(loginFlag) {
      this.globalData.openId = loginFlag;
    }

  },
  BASE_URL:'http://wxma.viphk.ngrok.org',
  globalData: {
    userInfo: null,
    openId:''
  }
})